<template>
   <div class="head">
    <div>
      /管理中心/{{msg}}
    </div>
    <div>
      小U后台管理系统
    </div>
    <div>
      管理员，欢迎您
    </div>
   </div>
 </template>





<script>
  import vm from "../utils/vm"
 export default{
       data(){
          return{
                msg:"首页"
             }
            },
       created(){
         vm.$on("myevent",(data)=>{
           this.msg = data

        
         })
       },
       methods: {},
     components: {}


}
</script>


<style scoped>

  .head{
      height: 50px;
      background-color: black;
      display: flex;
      justify-content: space-between;
      padding: 0 10px;
      text-align: center;
      line-height: 50px;
      color: white;
      
  }



</style> 